<#assign base = request.contextPath />
<div class="header">
	<div class="wrap_wid">
		<a href="${base}/index">
		 <img class="header_i" src="${base}/search/images2/前面logo.png">
		 <img class="header_ii" src="${base}/search/images2/中医药数据智能分析平台.png">
		</a>
		<div class="user_info">
		  <@shiro.authenticated> 
			<span class="user_name"><img src="${base}/search/images2/pic.png" width="20" height="20"><@shiro.principal property="loginName" /></span>
		    <div class="user_select">
		      <ul>
		       	   <li><a href="${base}/sys/userinfo?trigger=个人信息"><i class="icon1"></i>个人信息</a></li>
		           <li><a href="${base}/sys/userinfo?trigger=服务权限"><i class="icon2"></i>服务权限</a></li>
		           <li><a href="${base}/sys/userinfo?trigger=疾病信息"><i class="icon3"></i>收藏历史</a></li>
		           <li><a href="${base}/sys/userinfo?trigger=搜索统计"><i class="icon4"></i>统计分析</a></li>
		           <li class="quit"><a href="javascript:logout();"><i class="icon5"></i>退出</a></li>
		       </ul>
		    </div>
		  </@shiro.authenticated>
		  <@shiro.notAuthenticated>
            <a href="${base}/login">登录</a><a href="${base}/register" class="current">注册</a>
          </@shiro.notAuthenticated>  
		</div>
	</div>
</div>